package dao;

import java.util.Date;
import java.util.List;

import bean.Album;

public interface AlbumDao {
	public boolean addAlbum(Album album);
	public boolean deleteAlbum(Album album);
	public boolean modifyAlbum(Album album);
	public List findAlbumsByUsername(String username);
	public List findAlbumsByView(int view);
	public List findAlbumsByDate(Date date);
	public List findAlbumsByUserid(int id);
	public Album findAlbumById(int id);
	public List findAlbumsByTitle(String name);
	public List findAlbumsByName(String name);
	public List findRecentAlbums();
}
